\begin{tikzpicture}[>=Stealth]
    \draw [->] (-3.5,0) -- (3.5,0) node[anchor=north] {$x$};
    \draw [->] (0,-1.0) -- (0,10.5) node[anchor=east] {$y$};
    \node at (0.3,-0.3) {$O$};
    \node at (0.2,0.6) {$1$};
    \foreach \x in {-3,-2,-1,1,2,3} {
        \draw (\x,0.2) -- (\x,0) node[anchor=north] {$\x$};
    }
    \foreach \y in {2,3,...,10} {
        \draw (0.2,\y) -- (0,\y) node[anchor=east] {$\y$};
    }
    
    \draw[domain=-3.1:3.1,samples=50] plot (\x, {2^\x}) +(0.5, -1.3) node {$y = 2^x$};
    \draw[domain=-1.5:0.95,samples=50] plot (\x, {10^\x}) +(0.7, -0.3) node {$y = 10^x$};
    \draw[domain=3.1:-3.1,samples=50] plot (\x, {(1/2)^\x}) +(1.1, -0.3) node {$y = \displaystyle \left(\frac 1 2 \right)^x$};
\end{tikzpicture}
